package com.arpa.oms.domain.vo;

import com.arpa.wms.domain.entity.BasicEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * <p>
 * OMS库存
 * </p>
 *
 * @author xuyang
 * @since 2020-11-16
 */
@Data
@ApiModel(value = "OmsInventory对象", description = "OMS销售单")
public class OmsInventoryVO extends BasicEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "数据标识")
    private String code;

    @ApiModelProperty(value = "入驻商")
    private String shipmentCode;

    @ApiModelProperty(value = "入驻商")
    private String shipmentName;

    @ApiModelProperty(value = "仓库")
    private String warehouseCode;

    @ApiModelProperty(value = "仓库名称")
    private String warehouseName;

    @ApiModelProperty(value = "商品标识")
    private String goodsCode;

    @ApiModelProperty(value = "商品编码")
    private String goodCode;

    @ApiModelProperty(value = "商品条码")
    private String goodsBarCode;

    @ApiModelProperty(value = "商品名称")
    private String goodsName;

    @ApiModelProperty(value = "商品规格")
    private String spec;

    @ApiModelProperty(value = "基本单位")
    private String basicUnit;

    @ApiModelProperty(value = "基本单位名称")
    private String basicUnitName;

    @ApiModelProperty(value = "数量")
    private BigDecimal quantity;

    @ApiModelProperty(value = "占用数量")
    private BigDecimal useQuantity;

    @ApiModelProperty(value = "不可用数量")
    private BigDecimal contUseQuantity;


    @ApiModelProperty(value = "可用数量")
    private BigDecimal QuantityAvailable;

    @ApiModelProperty(value = "版本号")
    private Integer version;

    @ApiModelProperty(value = "平均单价")
    private BigDecimal averageUnitPrice;

    @ApiModelProperty(value = "库存金额")
    private BigDecimal totalAmount;

    @ApiModelProperty(value = "总数")
    private Long total;

}
